Skip to content

Conversation

@krisbiradar
Copy link

Closes #134 .
Wrap Exception.ToString() in a try-catch block to handle potential failures. If an exception occurs, output a fallback message with details about the original exception and the error encountered.

Wrap Exception.ToString() in a try-catch block to handle potential failures. If an exception occurs, output a fallback message with details about the original exception and the error encountered.
@krisbiradar
Copy link
Author

@nblumhardt
can you merge this ?
similar has been merged in the serilog's main repo
Here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Exception in StackTrace leads to wrong message being logged

1 participant